=====================================================
 : Thanks
 : 2.1
=====================================================
 : MSW
  : http://0-web.ru/
=====================================================
 : ReadMe.txt
=====================================================


******* !!!
 ,       ,       :
1.        :
   - Z974836831699
   - R167272790699
   - U584119120009
    ,  {_}    :
=====================================================
     Thanks  : {_}
=====================================================

2.     ,    noindex / rel="nofollow",     :
=====================================================
<a href="http://0-web.ru/" target="_blank">  WEB-</a>
=====================================================

      .
        -          .

    (     ),         :
1.    -    ,     ,     .
2.   (),    -,     ,     .
3.     (, Google  ),      (.    Google: "       ")   "     ,     ",           .
4.      (  )  ,    .


****** :
0.  MySQL :
   !       dle,
        !
=====================================================
DROP TABLE IF EXISTS `dle_thanks`;
CREATE TABLE `dle_thanks` (
  `id` int(12) NOT NULL auto_increment,
  `id_post` int(15) NOT NULL default '0',
  `user_id` int(15) NOT NULL default '0',
  `user_name` varchar(255) NOT NULL default '',
  `host_ip` varchar(255) NOT NULL default '',
  `time` int(15) NOT NULL,
  PRIMARY KEY  (`id`),
  UNIQUE `user` ( `id_post`, `user_id`)
) ENGINE=MyISAM  DEFAULT CHARSET=cp1251 AUTO_INCREMENT=1;
ALTER TABLE `dle_users` ADD thx_num int(11) DEFAULT '0' NOT NULL;
=====================================================


1.    .

 
4.   /engine/cache/thanks/
      : 777


5. : /engine/modules/profile.php
:
=====================================================
$xfieldsaction = "list";
=====================================================

 :
=====================================================
#****** Thanks by MSW *** 0-web.ru ******#
	$tpl->set('{thx_num}', $row['thx_num']);
=====================================================


6.  : userinfo.tpl
      :
=====================================================
: {thx_num}
=====================================================


7.  -    :
 : thanks
 :    ?
: 
 : 
  :
=====================================================


=====================================================

8.   :
=====================================================
http://0-web.ru/
=====================================================
